/**
 * 节点类型 零部件、材料 枚举
 */
export enum NodeTypeEnum {
  'ITEM' = 'ITEM',
  'MATERIAL' = 'MATERIAL'
}

/**
 * 节点类型 零部件、材料 MAP
 */
export const NodeTypeMap = {
  ITEM: '零部件',
  MATERIAL: '材料'
};

/**
 * 节点类型 零部件、材料 options
 */
export const NodeTypeOptions = [
  {
    label: NodeTypeMap.ITEM,
    value: 'ITEM'
  },
  {
    label: NodeTypeMap.MATERIAL,
    value: 'MATERIAL'
  }
];

/**
 * BOM清单列表 数据来源 枚举
 */
export enum DataSourceEnum {
  BOM = 'BOM',
  FACTOR = 'FACTOR',
  MODEL = 'MODEL',
  SUPPLIER = 'SUPPLIER',
  SUPPLIER_FACTOR = 'SUPPLIER_FACTOR',
  SUPPLIER_MANUFACTURE = 'SUPPLIER_MANUFACTURE',
  REQUEST_PROCESSING = 'REQUEST_PROCESSING'
}

/**
 * BOM清单列表 数据来源 map
 */
export const DataSourceMap = {
  BOM: '正常的节点数据',
  MODEL: '替换子模型',
  SUPPLIER: '	供应商数据追溯中',
  SUPPLIER_FACTOR: '供应商报告',
  SUPPLIER_MANUFACTURE: '供应商的场地数据',
  REQUEST_PROCESSING: '追溯请求处理中'
};

/**
 * 运输方式 枚举
 */
export enum TransportMethodEnum {
  'VANS' = 'VANS',
  'HGV' = 'HGV',
  'HGV_REFRIGERATED' = 'HGV_REFRIGERATED',
  'FREIGHT_FLIGHT' = 'FREIGHT_FLIGHT',
  'RAIL' = 'RAIL',
  'SEA_TANKER' = 'SEA_TANKER',
  'CARGO_SHIP' = 'CARGO_SHIP'
}

/**
 * 运输方式 MAP
 */
export const TransportMethodMap = {
  VANS: '轻型厢式货车',
  HGV: '重型货车',
  HGV_REFRIGERATED: '重型货车冷藏',
  FREIGHT_FLIGHT: '货运航班',
  RAIL: '铁路货运',
  SEA_TANKER: '海运油轮',
  CARGO_SHIP: '货船'
};

/**
 * 运输方式 option
 */
export const TransportMethodOptions = [
  {
    label: TransportMethodMap.VANS,
    value: 'VANS'
  },
  {
    label: TransportMethodMap.HGV,
    value: 'HGV'
  },
  {
    label: TransportMethodMap.HGV_REFRIGERATED,
    value: 'HGV_REFRIGERATED'
  },
  {
    label: TransportMethodMap.FREIGHT_FLIGHT,
    value: 'FREIGHT_FLIGHT'
  },
  {
    label: TransportMethodMap.RAIL,
    value: 'RAIL'
  },
  {
    label: TransportMethodMap.SEA_TANKER,
    value: 'SEA_TANKER'
  },
  {
    label: TransportMethodMap.CARGO_SHIP,
    value: 'CARGO_SHIP'
  }
];

/**
 * 燃料类型 枚举
 */
export enum FuelTypeEnum {
  'DIESEL' = 'DIESEL',
  'PETROL' = 'PETROL',
  'CNG' = 'CNG',
  'LPG' = 'LPG',
  'PURE_ELECTRIC' = 'PURE_ELECTRIC',
  'UNKNOWN' = 'UNKNOWN'
}

/**
 * 燃料类型 MAP
 */
export const FuelTypeMAP = {
  DIESEL: '柴油',
  PETROL: '汽油',
  CNG: '天然气',
  LPG: '液化石油气',
  PURE_ELECTRIC: '纯电动',
  UNKNOWN: '未知'
};

/**
 * 燃料类型 option
 */
export const FuelTypeOptions = [
  {
    label: FuelTypeMAP.DIESEL,
    value: 'DIESEL'
  },
  {
    label: FuelTypeMAP.PETROL,
    value: 'PETROL'
  },
  {
    label: FuelTypeMAP.CNG,
    value: 'CNG'
  },
  {
    label: FuelTypeMAP.LPG,
    value: 'LPG'
  },
  {
    label: FuelTypeMAP.PURE_ELECTRIC,
    value: 'PURE_ELECTRIC'
  },
  {
    label: FuelTypeMAP.UNKNOWN,
    value: 'UNKNOWN'
  }
];

/**
 * 运载率 枚举
 */
export enum TransportRatioEnum {
  'FIFTY_PERCENT' = 'FIFTY_PERCENT',
  'HUNDRED_PERCENT' = 'HUNDRED_PERCENT'
}

/**
 * 运载率 MAP
 */
export const TransportRatioMap = {
  '0.5': '50%',
  '1': '100%'
};

/**
 * 运载率 option
 */
export const TransportRatioOptions = [
  {
    label: '50%',
    value: '0.5'
  },
  {
    label: '100%',
    value: '1'
  }
];

/**
 * 运输物类别 enum
 */
export enum DataCategoryEnum {
  MAIN = 'MAIN',
  ITEM = 'ITEM',
  MATERIAL = 'MATERIAL'
}

/**
 * 运输物类别 map
 */
export const DataCategoryMap = {
  MAIN: '主产品',
  ITEM: '零部件',
  MATERIAL: '材料'
};

/**
 * 运输物类别 option
 */
export const DataCategoryOptions = [
  {
    label: DataCategoryMap.MAIN,
    value: 'MAIN'
  },
  {
    label: DataCategoryMap.ITEM,
    value: 'ITEM'
  },
  {
    label: DataCategoryMap.MATERIAL,
    value: 'MATERIAL'
  }
];

/**
 * 模型阶段 枚举
 */
export enum ProcessStageCodeEnum {
  // 供应链阶段
  SUPPLY_CHAIN_STAGE = 'SUPPLY_CHAIN_STAGE',
  // 物流运输阶段
  TRANSFER_STAGE = 'TRANSFER_STAGE',
  // 生产阶段
  MANUFACTURE_STAGE = 'MANUFACTURE_STAGE',
  // 使用阶段
  USE_STAGE = 'USE_STAGE',
  // 回收阶段
  RECYCLE_STAGE = 'RECYCLE_STAGE'
}

/**
 * 模型阶段 map
 */
export const ProcessStageMap = {
  SUPPLY_CHAIN_STAGE: '原材料获取与加工',
  TRANSFER_STAGE: '产品运输阶段',
  MANUFACTURE_STAGE: '产品生产阶段',
  USE_STAGE: '产品使用阶段',
  RECYCLE_STAGE: '回收处置阶段'
};

/**
 * 模型阶段 option
 */
export const ProcessStageOption = [
  {
    label: ProcessStageMap.SUPPLY_CHAIN_STAGE,
    value: 'SUPPLY_CHAIN_STAGE'
  },
  {
    label: ProcessStageMap.MANUFACTURE_STAGE,
    value: 'MANUFACTURE_STAGE'
  },
  {
    label: ProcessStageMap.TRANSFER_STAGE,
    value: 'TRANSFER_STAGE'
  },
  {
    label: ProcessStageMap.USE_STAGE,
    value: 'USE_STAGE'
  },
  {
    label: ProcessStageMap.RECYCLE_STAGE,
    value: 'RECYCLE_STAGE'
  }
];

/**
 *  流程对应的中文名
 */

export const ProcessMap = {
  BOM: '产品BOM',
  BOM_LIST: 'BOM清单',
  ENTER_LOGISTICS: '零件入厂物流',
  DISPOSAL_LOGISTICS: '处置物流',
  ENERGY_CONSUME: '能源消耗',
  ENVIRONMENT_EMISSION: '环境排放',
  WASTE_DISPOSAL: '废物处置',
  INTERNAL_LOGISTICS: '厂内物流',
  MANUFACTURE_AUXILIARY_MATERIAL: '生产性辅料',
  DOMESTIC_SECTION: '国内段',
  INTERNATIONAL_SECTION: '国际段',
  LOCAL_SECTION: '当地段',
  INSTALLATION_CONSUME: '安装消耗',
  WORKING_CONSUMPTION: '使用功耗',
  MATERIAL_CONSUMPTION: '材料消耗'
};

export const modelProcessTypeMap = {
  MATERIAL_CONSUMPTION: '材料消耗',
  ENERGY_CONSUME: '能源消耗',
  LOGISTICS_TRANSPORTATION: '物流运输',
  ENVIRONMENT_EMISSION: '环境排放',
  WASTE_DISPOSAL: '废物处置'
};

/**
 * 模型阶段抽屉标题 map
 */
export const ProcessStageDrawerTitleMap = {
  SUPPLY_CHAIN_STAGE: '产品BOM清单',
  TRANSFER_STAGE: '运输情景',
  MANUFACTURE_STAGE: '生产过程',
  USE_STAGE: '使用情景',
  RECYCLE_STAGE: '处置情景'
};

/**
 * 模型详情总览 抽屉按钮文案 map
 */
export const ProcessStageDrawerBtnMap = {
  SUPPLY_CHAIN_STAGE: '管理产品BOM',
  TRANSFER_STAGE: '管理运输明细',
  MANUFACTURE_STAGE: '管理生产过程',
  USE_STAGE: '管理使用情景',
  RECYCLE_STAGE: '管理处置情景'
};

/**
 * 模型类型Enum
 */
export enum ModelTypeEnum {
  'PASSENGER_VEHICLE' = 'PASSENGER_VEHICLE',
  'COMMERCIAL_GOODS_VEHICLE' = 'COMMERCIAL_GOODS_VEHICLE',
  'COMMERCIAL_BUS' = 'COMMERCIAL_BUS',
  'ITEM' = 'ITEM'
}
/**
 * 模型类型 MAP
 */
export const ModelTypeMap = {
  PASSENGER_VEHICLE: '乘用车',
  COMMERCIAL_GOODS_VEHICLE: '商用车（货车）',
  COMMERCIAL_BUS: '商用车（客车）',
  ITEM: '零部件'
};

/**
 * 模型类型 options
 */
export const ModelTypeOptions = [
  // {
  //   label: ModelTypeMap.PASSENGER_VEHICLE,
  //   value: 'PASSENGER_VEHICLE'
  // },
  {
    label: ModelTypeMap.COMMERCIAL_GOODS_VEHICLE,
    value: 'COMMERCIAL_GOODS_VEHICLE'
  },
  {
    label: ModelTypeMap.COMMERCIAL_BUS,
    value: 'COMMERCIAL_BUS'
  }
  // {
  //   label: ModelTypeMap.ITEM,
  //   value: 'ITEM'
  // }
];

/**
 * 标准Enum
 */
export enum StandardEnum {
  'ISO' = 'ISO',
  'COMMERCIAL_VEHICLE_PCR' = 'COMMERCIAL_VEHICLE_PCR',
  'PASSENGER_VEHICLE_PCR' = 'PASSENGER_VEHICLE_PCR',
  'PEF' = 'PEF'
}

/**
 * 标准 MAP
 */
export const StandardMap: any = {
  ISO: 'ISO 14067：2018',
  COMMERCIAL_VEHICLE_PCR: '商用车PCR',
  PASSENGER_VEHICLE_PCR: '乘用车PCR',
  PEF: '欧盟产品环境足迹'
};

export const StandardDetailMap = {
  ISO: 'ISO 14067：2018',
  COMMERCIAL_VEHICLE_PCR: '国标：商用车PCR',
  PASSENGER_VEHICLE_PCR: '国标：乘用车PCR',
  PEF: '欧盟产品环境足迹（PEF）'
};
/**
 * 标准 options  核算标准：PASSENGER_VEHICLE_PCR 乘用车PCR；COMMERCIAL_VEHICLE 商用车PCR；ISO
 */
export const StandardOptions = [
  {
    label: StandardMap.PASSENGER_VEHICLE_PCR,
    value: 'PASSENGER_VEHICLE_PCR'
  },
  {
    label: StandardMap.COMMERCIAL_VEHICLE_PCR,
    value: 'COMMERCIAL_VEHICLE_PCR'
  },
  {
    label: StandardMap.ISO,
    value: 'ISO'
  },
  {
    label: StandardMap.PEF,
    value: 'PEF'
  }
];

/**
 * 车辆类型
 */
export enum VehicleTypeEnum {
  'SINGLE_GASOLINE_OR_DIESEL' = 'SINGLE_GASOLINE_OR_DIESEL',
  'NON_OF_VEHICLE_CHARGEABLE_HYBRID_ELECTRIC' = 'NON_OF_VEHICLE_CHARGEABLE_HYBRID_ELECTRIC',
  'PLUG_IN_HYBRID_ELECTRIC' = 'PLUG_IN_HYBRID_ELECTRIC',
  'EV' = 'EV',
  'FCEV' = 'FCEV',
  'NGV' = 'NGV'
}

/**
 * 模型类型 MAP
 */
export const VehicleTypeMap = {
  SINGLE_GASOLINE_OR_DIESEL: '单一燃用汽油或柴油',
  NON_OF_VEHICLE_CHARGEABLE_HYBRID_ELECTRIC: '不可外接充电式混合动力',
  PLUG_IN_HYBRID_ELECTRIC: '插电式混合动力电动',
  EV: '纯电动',
  FCEV: '燃料电池电动',
  NGV: '天然气'
};

/**
 * 模型类型 options
 */
export const VehicleTypeOptions = [
  {
    label: VehicleTypeMap.SINGLE_GASOLINE_OR_DIESEL,
    value: 'SINGLE_GASOLINE_OR_DIESEL'
  },
  {
    label: VehicleTypeMap.NON_OF_VEHICLE_CHARGEABLE_HYBRID_ELECTRIC,
    value: 'NON_OF_VEHICLE_CHARGEABLE_HYBRID_ELECTRIC'
  },
  {
    label: VehicleTypeMap.PLUG_IN_HYBRID_ELECTRIC,
    value: 'PLUG_IN_HYBRID_ELECTRIC'
  },
  {
    label: VehicleTypeMap.EV,
    value: 'EV'
  },
  {
    label: VehicleTypeMap.FCEV,
    value: 'FCEV'
  },
  {
    label: VehicleTypeMap.NGV,
    value: 'NGV'
  }
];

/**
 * 核算范围
 */
export enum AccountEnum {
  'CRADLE_TO_GATE' = 'CRADLE_TO_GATE',
  'CRADLE_TO_GRAVE' = 'CRADLE_TO_GRAVE'
}

export const AccountMap = {
  CRADLE_TO_GATE: '摇篮到大门',
  CRADLE_TO_GRAVE: '摇篮到坟墓'
};

export const AccountOptions = [
  {
    label: AccountMap.CRADLE_TO_GATE,
    value: 'CRADLE_TO_GATE'
  },
  {
    label: AccountMap.CRADLE_TO_GRAVE,
    value: 'CRADLE_TO_GRAVE'
  }
];

/**
 * 流类型 流类型：ENERGY_CONSUME
 *
 */
export enum FlowTypeEnum {
  'ENERGY_CONSUME' = 'ENERGY_CONSUME',
  'MATERIAL_ITEM' = 'MATERIAL_ITEM',
  'ITEM' = 'ITEM',
  'LOGISTICS' = 'LOGISTICS',
  'ABANDON' = 'ABANDON',
  'DISCHARGE' = 'DISCHARGE'
}

export const FlowTypesMap = {
  ENERGY_CONSUME: '能源/燃料',
  MATERIAL_ITEM: '材料/部件',
  LOGISTICS: '交通运输',
  ABANDON: '废弃处置',
  DISCHARGE: '逸散排放'
};
/**
 * 列表展示用
 */
export const FlowTypesListMap = {
  MATERIAL: '材料/部件',
  PART: '材料/部件',
  ITEM: '材料/部件',
  PART_REPLACE: '材料/部件',
  ENERGY_CONSUME: '能源/燃料',
  LOGISTICS: '交通运输',
  ABANDON: '废弃处置',
  DISCHARGE: '逸散排放'
};
/**
 * dqr展示用
 */
export const DqrTypesListMap = {
  MATERIAL: '材料',
  ITEM: '零部件',
  PART_REPLACE: '部件更换',
  PART: '生产辅料',
  ENERGY_CONSUME: '能源/燃料',
  LOGISTICS: '交通运输',
  ABANDON: '废弃处置',
  DISCHARGE: '逸散排放'
};
export const dqrTypeOptions = [
  {
    label: DqrTypesListMap.MATERIAL,
    value: 'MATERIAL'
  },
  {
    label: DqrTypesListMap.ITEM,
    value: 'ITEM'
  },
  {
    label: DqrTypesListMap.PART,
    value: 'PART'
  },
  {
    label: DqrTypesListMap.ENERGY_CONSUME,
    value: 'ENERGY_CONSUME'
  },
  {
    label: DqrTypesListMap.LOGISTICS,
    value: 'LOGISTICS'
  },
  {
    label: DqrTypesListMap.ABANDON,
    value: 'ABANDON'
  },
  {
    label: DqrTypesListMap.DISCHARGE,
    value: 'DISCHARGE'
  }
];

export const dqrStatusMap = {
  SCORED: '已评分',
  NOT_SCORED: '未评分'
};
export const dqrStatusOptions = [
  {
    label: dqrStatusMap.SCORED,
    value: 'SCORED'
  },
  {
    label: dqrStatusMap.NOT_SCORED,
    value: 'NOT_SCORED'
  }
];
export const FlowTypeOptions = [
  {
    label: FlowTypesMap.ENERGY_CONSUME,
    value: 'ENERGY_CONSUME'
  },
  {
    label: FlowTypesMap.MATERIAL_ITEM,
    value: 'MATERIAL_ITEM'
  },
  {
    label: FlowTypesMap.LOGISTICS,
    value: 'LOGISTICS'
  },
  {
    label: FlowTypesMap.ABANDON,
    value: 'ABANDON'
  },
  {
    label: FlowTypesMap.DISCHARGE,
    value: 'DISCHARGE'
  }
];

/**
 * 关联状态 关联状态：NOT_RELATE 未关联；
 * ELATE 已关联；
 * SUPPLIER 供应商填写；
 * IGNORE 忽略或不可得
 *
 */
export enum RelateStatusEnum {
  'NOT_RELATE' = 'NOT_RELATE',
  'RELATE' = 'RELATE',
  'SUPPLIER' = 'SUPPLIER',
  'IGNORE' = 'IGNORE'
}

export const RelateStatusMap = {
  NOT_RELATE: '未关联',
  RELATE: '已关联',
  SUPPLIER: '供应商填写',
  IGNORE: '忽略或不可得'
};

export const RelateStatueOptions = [
  {
    label: RelateStatusMap.NOT_RELATE,
    value: 'NOT_RELATE'
  },
  {
    label: RelateStatusMap.RELATE,
    value: 'RELATE'
  },
  // {
  //   label: RelateStatusMap.SUPPLIER,
  //   value: 'SUPPLIER'
  // },
  {
    label: RelateStatusMap.IGNORE,
    value: 'IGNORE'
  }
];

export const AllRelateStatueOptions = [
  {
    label: '全部',
    value: ''
  },
  {
    label: RelateStatusMap.NOT_RELATE,
    value: 'NOT_RELATE'
  },
  {
    label: RelateStatusMap.RELATE,
    value: 'RELATE'
  },
  // {
  //   label: RelateStatusMap.SUPPLIER,
  //   value: 'SUPPLIER'
  // },
  {
    label: RelateStatusMap.IGNORE,
    value: 'IGNORE'
  }
];

export enum FactorCategoryEnum {
  ENERGY_CONSUME = 'ENERGY_CONSUME',
  MATERIAL = 'MATERIAL',
  DISCHARGE = 'DISCHARGE',
  ABANDON = 'ABANDON',
  LOGISTICS = 'LOGISTICS',
  OTHER = 'OTHER'
}

export const FactorCategoryMap = {
  ENERGY_CONSUME: '能源/燃料',
  MATERIAL_ITEM: '材料/部件',
  DISCHARGE: '逸散排放',
  ABANDON: '废弃处置',
  LOGISTICS: '交通运输',
  OTHER: '其他'
};
export const FactorCategoryOptions = [
  {
    label: FactorCategoryMap.ENERGY_CONSUME,
    value: 'ENERGY_CONSUME'
  },
  {
    label: FactorCategoryMap.MATERIAL_ITEM,
    value: 'MATERIAL_ITEM'
  },
  {
    label: FactorCategoryMap.DISCHARGE,
    value: 'DISCHARGE'
  },
  {
    label: FactorCategoryMap.ABANDON,
    value: 'ABANDON'
  },
  {
    label: FactorCategoryMap.LOGISTICS,
    value: 'LOGISTICS'
  },
  {
    label: FactorCategoryMap.OTHER,
    value: 'OTHER'
  }
];

export enum FactorSourceEnum {
  CALCD = 'CALCD',
  CPCD = 'CPCD',
  ECOINVENT = 'ECOINVENT',
  GABI = 'GABI',
  IPCC = 'IPCC',
  SITE = 'SITE'
}

export const FactorSourceMap = {
  CALCD: '中汽研CALCD',
  CPCD: '生环部CPCD',
  ECOINVENT: 'ecoinvent 3.9.1',
  GABI: 'GaBi Sphera',
  IPCC: 'IPCC AR6',
  SITE: '场地因子'
};

// 因子来源
export const FactorSourceOptions = [
  {
    label: FactorSourceMap.CALCD,
    value: 'CALCD'
  },
  {
    label: FactorSourceMap.CPCD,
    value: 'CPCD'
  },
  {
    label: FactorSourceMap.ECOINVENT,
    value: 'ECOINVENT'
  },
  {
    label: FactorSourceMap.GABI,
    value: 'GABI'
  },
  {
    label: FactorSourceMap.IPCC,
    value: 'IPCC'
  },
  {
    label: FactorSourceMap.SITE,
    value: 'SITE'
  }
];

/**
 * 节点类型枚举
 */
export enum FlowNodeTypeEnum {
  BOM = 'BOM',
  MODEL = 'FLOW',
  SUPPLIER = 'TRANSFER'
}

/**
 * 节点类型 map
 */
export const FlowNodeTypeMap = {
  BOM: 'BOM',
  MODEL: '基本流',
  SUPPLIER: '运输线路'
};

/**
 * 核算状态枚举
 */
export enum AccountTypeEnum {
  NOT_ACCOUNT = 'NOT_ACCOUNT', //未核算
  RUNNING = 'RUNNING', //计算中
  PART_ACCOUNTED = 'PART_ACCOUNTED', //部分核算
  ACCOUNTED = 'ACCOUNTED', //已核算
  FAIL = 'FAIL'
}

/**
 * 核算状态 枚举
 */
export enum AccountStatusPCFEnum {
  'NOT_ACCOUNT' = 'NOT_ACCOUNT',
  'RUNNING' = 'RUNNING',
  'PART_ACCOUNTED' = 'PART_ACCOUNTED',
  'ACCOUNTED' = 'ACCOUNTED'
}

/**
 * 核算状态 MAP
 */
export const AccountStatusPCFMap = {
  NOT_ACCOUNT: '未核算',
  RUNNING: '计算中',
  PART_ACCOUNTED: '部分核算',
  ACCOUNTED: '已核算'
};

/**
 * 核算状态 options
 */
export const AccountStatusPCFOptions = [
  {
    label: AccountStatusPCFMap.NOT_ACCOUNT,
    value: 'NOT_ACCOUNT'
  },
  // {
  //   label: AccountStatusPCFMap.RUNNING,
  //   value: 'RUNNING'
  // },
  {
    label: AccountStatusPCFMap.PART_ACCOUNTED,
    value: 'PART_ACCOUNTED'
  },
  {
    label: AccountStatusPCFMap.ACCOUNTED,
    value: 'ACCOUNTED'
  }
];

/**
 * 供应商类型 枚举 供应商类型：
 * TIER_ONE_SUPPLIER 一级供应商；
 * OTHER_SUPPLIER 其他供应商；
 * LOGISTICS_SUPPLIER 物流供应商；
 * ABANDON_SUPPLIER 报废处置商
 */
export enum SupplierTypeEnum {
  'TIER_ONE_SUPPLIER' = 'TIER_ONE_SUPPLIER',
  'OTHER_SUPPLIER' = 'OTHER_SUPPLIER',
  'LOGISTICS_SUPPLIER' = 'LOGISTICS_SUPPLIER',
  'ABANDON_SUPPLIER' = 'ABANDON_SUPPLIER'
}

/**
 * 供应商类型 MAP
 */
export const SupplierTypeMap = {
  TIER_ONE_SUPPLIER: '一级供应商',
  OTHER_SUPPLIER: '其他供应商',
  LOGISTICS_SUPPLIER: '物流供应商',
  ABANDON_SUPPLIER: '报废处置商'
};

/**
 * 核算状态 options
 */
export const SupplierTypeOptions = [
  {
    label: SupplierTypeMap.TIER_ONE_SUPPLIER,
    value: 'TIER_ONE_SUPPLIER'
  },
  {
    label: SupplierTypeMap.OTHER_SUPPLIER,
    value: 'OTHER_SUPPLIER'
  },
  {
    label: SupplierTypeMap.LOGISTICS_SUPPLIER,
    value: 'LOGISTICS_SUPPLIER'
  },
  {
    label: SupplierTypeMap.ABANDON_SUPPLIER,
    value: 'ABANDON_SUPPLIER'
  }
];

/**
 * 同步状态
 */
export enum SyncStatusEnum {
  'NOT_SYNCED' = 'NOT_SYNCED',
  'SYNCING' = 'SYNCING',
  'SYNCED' = 'SYNCED'
}

/**
 * 同步状态 MAP
 */
export const SyncStatusMap = {
  NOT_SYNCED: '未同步',
  SYNCING: '同步中',
  SYNCED: '同步成功'
};
